.class final Lcom/wqmobile/sdk/widget/t;
.super Ljava/util/TimerTask;


# instance fields
.field private synthetic a:Lcom/wqmobile/sdk/widget/ADView;

.field private final synthetic b:Z


# direct methods
.method constructor <init>(Lcom/wqmobile/sdk/widget/ADView;Z)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/t;->a:Lcom/wqmobile/sdk/widget/ADView;

    iput-boolean p2, p0, Lcom/wqmobile/sdk/widget/t;->b:Z

    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/t;->a:Lcom/wqmobile/sdk/widget/ADView;

    return-object v0
.end method


# virtual methods
.method public final run()V
    .locals 3

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/t;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/widget/ADView;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-static {}, Lcom/wqmobile/sdk/widget/ADView;->b()Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->c()I

    move-result v1

    if-ge v0, v1, :cond_1

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/wqmobile/sdk/widget/ADView;->b()Lcom/wqmobile/sdk/a/a;

    const-string v0, "TestNewLoop"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "going to get ad ,cur size:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/t;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v2}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/widget/ADView;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/t;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->w(Lcom/wqmobile/sdk/widget/ADView;)V

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/t;->a:Lcom/wqmobile/sdk/widget/ADView;

    new-instance v1, Lcom/wqmobile/sdk/widget/u;

    iget-boolean v2, p0, Lcom/wqmobile/sdk/widget/t;->b:Z

    invoke-direct {v1, p0, v2}, Lcom/wqmobile/sdk/widget/u;-><init>(Lcom/wqmobile/sdk/widget/t;Z)V

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/widget/ADView;->post(Ljava/lang/Runnable;)Z

    return-void
.end method
